<%@ include file="/common/taglibs.jsp"%>

<head>
    <title><fmt:message key="circleCategoryDetail.title"/></title>
    <meta name="heading" content="<fmt:message key='circleCategoryDetail.heading'/>"/>
</head>

<s:form id="circleCategoryForm" action="saveCircleCategory" method="post" validate="true">
    <li style="display: none">
        <s:hidden key="circleCategory.circleId"/>
    </li>
    <s:textfield key="circleCategory.albumNum" required="false" maxlength="255" cssClass="text medium"/>
    <s:textfield key="circleCategory.albumShowId" required="false" maxlength="255" cssClass="text medium"/>
    <s:textfield key="circleCategory.bulletin" required="false" maxlength="255" cssClass="text medium"/>
    <s:textfield key="circleCategory.circleDesc" required="false" maxlength="300" cssClass="text medium"/>
    <s:textfield key="circleCategory.circleInsTime" required="false" maxlength="8" cssClass="text medium"/>
    <s:textfield key="circleCategory.circleName" required="false" maxlength="200" cssClass="text medium"/>
    <s:textfield key="circleCategory.circlePic" required="false" maxlength="300" cssClass="text medium"/>
    <s:textfield key="circleCategory.circleProjectname" required="false" maxlength="255" cssClass="text medium"/>
    <s:textfield key="circleCategory.circleType" required="false" maxlength="255" cssClass="text medium"/>
    <s:textfield key="circleCategory.compositor" required="false" maxlength="255" cssClass="text medium"/>
    <s:textfield key="circleCategory.isDisplayIndex" required="false" maxlength="255" cssClass="text medium"/>
    <s:textfield key="circleCategory.isHot" required="false" maxlength="255" cssClass="text medium"/>
    <s:textfield key="circleCategory.isNew" required="false" maxlength="255" cssClass="text medium"/>
    <s:textfield key="circleCategory.memberNum" required="false" maxlength="255" cssClass="text medium"/>
    <%--<!-- todo: change this to read the identifier field from the other pojo -->--%>
    <%--<s:select name="circleCategory.parent.id" list="parentList" listKey="id" listValue="id"></s:select>--%>
    <s:textfield key="circleCategory.pointNum" required="false" maxlength="255" cssClass="text medium"/>
    <s:textfield key="circleCategory.sortValue" required="false" maxlength="255" cssClass="text medium"/>
    <s:textfield key="circleCategory.topicNum" required="false" maxlength="255" cssClass="text medium"/>
    <s:textfield key="circleCategory.topicShowId" required="false" maxlength="255" cssClass="text medium"/>
    <s:textfield key="circleCategory.userId" required="false" maxlength="255" cssClass="text medium"/>
    <s:textfield key="circleCategory.userShowId" required="false" maxlength="255" cssClass="text medium"/>
    <s:textfield key="circleCategory.version" required="false" maxlength="255" cssClass="text medium"/>
    <s:textfield key="circleCategory.videoNum" required="false" maxlength="255" cssClass="text medium"/>
    <s:textfield key="circleCategory.videoShowId" required="false" maxlength="255" cssClass="text medium"/>

    <li class="buttonBar bottom">
        <s:submit cssClass="button" method="save" key="button.save" theme="simple"/>
        <c:if test="${not empty circleCategory.circleId}">
            <s:submit cssClass="button" method="delete" key="button.delete"
                onclick="return confirmDelete('CircleCategory')" theme="simple"/>
        </c:if>
        <s:submit cssClass="button" method="cancel" key="button.cancel" theme="simple"/>
    </li>
</s:form>

<script type="text/javascript">
    Form.focusFirstElement($("circleCategoryForm"));
</script>
